import service from "@/utils/request";

// 获取需求列表
export function getRequirementList(params) {
  return service({
    url: "/require/orders",
    method: "get",
    params,
  });
}

// 删除需求
export function backRequirement(data) {
  return service({
    url: `/require/backOrder`,
    method: "post",
    data
  });
}

// 编辑需求
export function editRequirement(data) {
  return service({
    url: `/require/access`,
    method: "post",
    data,
  });
}
